package com.qwt.part_time_api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qwt.part_time_api.pojo.Category;

import java.util.List;

/**
 * @Author 君子慎独
 * @create 2022/1/3 0003 18:19
 */
public interface CategoryMapper extends BaseMapper<Category> {

    /**
     * 根据信息表id查询商家类型
     *
     * @param id id
     * @return 类型
     */
    List<Category> findCategoryByInfoId(Long id);
}
